From 7889d846cafab029071545bcc76d33ab2b1b37c0 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Mon, 13 Oct 2003 18:48:00 +0000 Subject: [PATCH] bitkeeper revision 1.502.1.1 (3f8af360M4G828e2k2pnLVeN8iCu0g) add bz2 support in xen-clone --- BitKeeper/etc/ignore | 1 + tools/misc/xen-clone | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BitKeeper/etc/ignore b/BitKeeper/etc/ignore index 56ae72ca3c..4ada23afb0 100644 --- a/BitKeeper/etc/ignore +++ b/BitKeeper/etc/ignore @@ -471,3 +471,4 @@ xen/arch/i386/nmi.o xen/drivers/net/dummy.o tools/misc/miniterm/miniterm tools/misc/xen_read_console +extras/mini-os/h/hypervisor-ifs diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone index 6b9d7a4c22..3fdd23d5db 100755 --- a/tools/misc/xen-clone +++ b/tools/misc/xen-clone @@ -65,7 +65,7 @@ LINUX_VER=`/bin/ls -ld ${DEST_BK_REP}/xenolinux-sparse | sed -e 's!^.*xenolinux- # copy in the master Linux tree for this kernel if [ ! -d linux-${LINUX_VER} ] then -tar -zxf ${LINUX_DIR}/linux-${LINUX_VER}.tar.gz || tar -zxf ${LINUX_DIR}/linux-${LINUX_VER}.tgz || cp -a ${LINUX_DIR}/linux-${LINUX_VER} . || wget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${LINUX_VER}.tar.gz -O- | tar -zxf - || exit -1 +tar -jxf ${LINUX_DIR}/linux-${LINUX_VER}.tar.bz2 || tar -zxf ${LINUX_DIR}/linux-${LINUX_VER}.tar.gz || tar -zxf ${LINUX_DIR}/linux-${LINUX_VER}.tgz || cp -a ${LINUX_DIR}/linux-${LINUX_VER} . || wget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${LINUX_VER}.tar.gz -O- | tar -zxf - || exit -1 fi # build and install Xen and tools -- 2.30.2